﻿Imports System.Windows.Forms

Public Class dlgProgStart

    Private Sub OK_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK_Button.Click
        Me.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.Close()
    End Sub

    Private Sub Cancel_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel_Button.Click
        Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.Close()
    End Sub

    Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
        If Me.CheckBox1.Checked = True Then
            Me.lblProgB.Visible = True
            Me.cboRecipeB.Visible = True
            Me.cboStepB.Visible = True
        Else
            Me.lblProgB.Visible = False
            Me.cboRecipeB.Visible = False
            Me.cboStepB.Visible = False
        End If
    End Sub
End Class
